package co.edu.usbcali.sisgpim.dataaccess.dao;

import co.edu.usbcali.sisgpim.modelo.Marcas;

import java.math.BigDecimal;

import java.util.Date;
import java.util.List;
import java.util.Set;


/**
 * Interface for MarcasDAO.
 * @author Zathura Code Generator http://code.google.com/p/zathura
 *
 */
public interface IMarcasDAO {
    public void save(Marcas instance);

    public void delete(Marcas instance);

    public void update(Marcas instance);

    public Marcas findById(Integer id);

    public List<Marcas> findByExample(Marcas instance);

    public List<Marcas> findByProperty(String propertyName, Object value);

    public List<Marcas> findAll();

    public List<Marcas> findByCriteria(String whereCondition);

    public List<Marcas> findPageMarcas(String sortColumnName,
        boolean sortAscending, int startRow, int maxResults);

    public Long findTotalNumberMarcas();

    public List<Marcas> findByCodigo(Object codigo);

    public List<Marcas> findByNombre(Object nombre);
}
